@import "../common.less";

.magic-science {
  width: 100%;

  .home-header {
    position: relative;

    .top-tab {
      position: absolute;
      bottom: 0;
      left: 0;
      width: 100%;
      height: 70px;
      font-size: 18px;

      .top-tab2 {
        width: 1204px;
        margin: 0 auto;
        display: flex;
        align-items: flex-end;
      }

      .tab {
        width: 160px;
        height: 60px;
        background: #365295;
        color: white;
        margin-right: 12px;
        border-top-right-radius: 5px;
        border-top-left-radius: 5px;
        text-align: center;
        line-height: 60px;
        cursor: pointer;
      }

      .tab-active {
        height: 70px;
        background: white;
        color: #365295;
        line-height: 70px;
        position: relative;
      }

      .tab-active:after {
        content: "";
        width: 0;
        height: 0;
        border-top: 10px solid #365295;
        border-left: 10px solid transparent;
        border-right: 10px solid transparent;
        position: absolute;
        top: 65px;
        left: 70px;
      }
    }
  }

}

.divider {
  width: 100%;
  height: 1px;
  background-color: gainsboro;
  margin: 12px auto;
}

.science-content {
  //display: flex;
  //justify-content: center;
  padding: 48px 0;
  width: 1210px;
  margin: auto;

  .tree-area {
    max-width: 320px;
    margin-right: 28px;

    h2 {
      color: #034ea2;
      font-weight: bold;
    }
  }

  .top-box {
    display: flex;
    justify-content: space-between;
  }

  .title-search {
    width: 923px; /*90%;*/
    background: white;
    height: 80px;
    border-radius: 80px;
    box-shadow: 0 6px 4px #dcdbdb;
    display: flex;
    flex-direction: column;
    justify-content: center;

    .search-box {
      width: 100%;
      padding: 0 8px 0 40px;
      display: flex;
      position: relative;

      i.ant-cascader-picker-clear {
        opacity: 1;
        right: 180px;
      }

      nz-select {
        width: 100%;
      }

      input {
        width: 100%;
        height: 78px;

        box-sizing: border-box;
        cursor: pointer;
        margin: 0;
        padding: 0;
        color: rgba(0, 0, 0, .65);
        font-size: 18px;
        line-height: 1.5715;
        font-variant: tabular-nums;
        list-style: none;
        font-feature-settings: 'tnum';
        position: relative;

        background-color: #fff;
        padding: 0 11px;
      }

      input, input:hover, input:focus {
        border: none;
        outline: none;
      }

      button {
        color: #ffffff;
        /*width: 100px;*/
        border-radius: 80px;
        font-size: 18px;
        height: 70px;
        margin-top: 5px;
        width: 190px; /*padding:0 40px;*/
      }
    }
  }

  .policy-list-area {

    .policy-list {
      width: 100%;
      margin-bottom: 48px;

      .list {
        display: flex;
        justify-content: space-between;

        .list-item {
          font-size: 18px;
          margin-bottom: 12px;
          cursor: pointer;
        }

        .list-left {
          flex-basis: 60%;

          .policy-item {
            width: 100%;
            height: 36px;
            display: flex;
            margin-top: 12px;
            cursor: pointer;
            border-bottom: 1px dotted gainsboro;
            align-items: center;

            .left-policy {
              display: flex;

              .policy-time {
                margin-right: 8px;
                font-size: 16px;
                width: 110px;
                color: rgba(0,0,0,.85);
              }

              .policy-right {
                width: calc(100% - 118px);

                .little-title {
                  font-size: 16px;
                  color: black;
                  display: -webkit-box;
                  -webkit-box-orient: vertical;
                  -webkit-line-clamp: 1;
                  overflow: hidden;
                }
              }
            }

          }

          .click-more {
            color: #034ea2;
            font-size: 16px;
            font-weight: bold;
            margin: 12px;
            cursor: pointer;
          }
        }

        .chart-area {
          flex-basis: 40%;
          /*min-height: 350px;*/
          height: 325px;

          img {
            width: 100%;
          }

          .bar-wrap {
            width: 100%;
            height: 100%;

            #word-chart {
              height: 100%;
              min-height: 190px;

            }
          }
        }

      }

    }
  }


}

.top-word-bold {
  font-size: 16px;
  font-weight: bold;
}

.red-background {
  background: red;
}

.ant-tree ::ng-deep .ant-tree-node-content-wrapper {
  color: #034ea2;
}
